<?php

class index_model extends Model{
	
	public $helpers_to_load = array('facebook_helper');
	public $observers_to_load = array(array('type' => 'model', 'class' => 'test_observer'));
	public $event_dispatcher = 'test_dispatcher';

	public function init(){
		$this->SetSystemEvent('ciao');
		/*$query = "select * from film limit 0,5";
		$this->data = $this->db->query($query);*/
	}
	
	public function ciao(){
		$this->data = 'ciao';
	}
	
	public function francesca(){}
}